/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SIMRS.Kasir;

import SIMRS.Kasir.view.frmHome;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import usu.widget.util.WidgetUtilities;

/**
 *
 * @author asus A42J-i3
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
      WidgetUtilities.invokeLater(new Runnable() {

            @Override
            public void run() {
                try {
                    UIManager.setLookAndFeel(UIManager.getCrossPlatformLookAndFeelClassName());
                } catch (ClassNotFoundException ex) {
                    Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
                } catch (InstantiationException ex) {
                    Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
                } catch (IllegalAccessException ex) {
                    Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
                } catch (UnsupportedLookAndFeelException ex) {
                    Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
                }finally {
                    try {
                        frmHome awal = new frmHome();
                        awal.setVisible(true);
                        
                    }catch (Exception e) {
                        System.out.println("Ada Kesalahan");
                    }
                }
            }
        });
    }
}
